package boot

import (
	"web/conf"
	"web/global"
	"web/middleware"

	"github.com/gin-gonic/gin"
)

func InitServer() {
	global.GlobalServer = gin.Default()
	global.GlobalServer.Use(middleware.Logger)
	global.GlobalServer.Static("/home", "view")

}
func Run() {
	global.GlobalServer.Run(conf.Server_Port)
}
